﻿<%@ Page Language="C#" MasterPageFile="~/masterpage.master" AutoEventWireup="true" CodeFile="plan.aspx.cs" Inherits="trip_plan_plan" Title="Citiport - trip Plan - travel, living, friendship" UICulture="en-us" Culture="en-us" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

    <script type="text/javascript" src="Silverlight.js"></script>
	<script type="text/javascript" src="Default_html.js"></script>
	<script type="text/javascript" src="Page.xaml.js"></script>
	<style type="text/css">
		.silverlightHost {
			height: 480px;
			width: 710px;
		}

	    .style34
        {
            width: 80px;
        }
        .style35
        {
            width: 100%;
        }

	    .style36
        {
            color: #CC3300;
        }

	</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

   <div id="mymsg"></div>


   
    
               <table style="width: 950px">
        <tr>
            <td style="width: 710px" valign="top">
                
                	<div id="SilverlightControlHost" class="silverlightHost">
		<script type="text/javascript">
			createSilverlight();
		</script>
	</div>
                </td>
            <td valign="top">
            
            
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
                <asp:Calendar ID="Calendar1" runat="server">
                </asp:Calendar>
                <br />
                

                
                
                <asp:UpdateProgress ID="UpdateProgress1" runat="server" 
                    AssociatedUpdatePanelID="UpdatePanel1" DynamicLayout="False">
                    <ProgressTemplate>
                        <span class="style36">Loading..Please wait </span>
                    </ProgressTemplate>
                </asp:UpdateProgress>
                
                
                
                                Category:<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="DropDownList1_SelectedIndexChanged">
                </asp:DropDownList>
                
                <div style="height:240px; width:240px; overflow:auto ">
                <asp:DataList ID="DataList1" runat="server" RepeatColumns="1" 
                    RepeatDirection="Horizontal" onitemcommand="DataList1_ItemCommand" 
                    >
                    <ItemStyle VerticalAlign="Top" />
                    <ItemTemplate>
                        <table style="width: 205px">
                            <tr>
                                <td class="style34">
                                    <asp:Image ID="Image1" runat="server" 
                                        ImageUrl='<%# Eval("main_pic_fn","../city_imgs/1/{0}") %>' />
                                </td>
                                <td>
                                    <table class="style35">
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label6" runat="server" Text='<%# Eval("no") %>' Visible="False"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><span style=" display:none; color:Red" id='near<%# Eval("no") %>'>Near!</span>
                                                <asp:HyperLink ID="HyperLink3" runat="server" 
                                                    NavigateUrl='<%# Eval("no","../city_s.aspx?no={0}") %>' Target="_blank" 
                                                    Text='<%# Eval("title") %>'></asp:HyperLink> / 
                                                <asp:Label ID="Label7" runat="server" style="font-size: large; color: #666666" 
                                                    Text='<%# Eval("ranking") %>'></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Button ID="Button2" runat="server" CommandName="&quot;aa&quot;" 
                                                    Text="add" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </asp:DataList>
                
                        </ContentTemplate>
    </asp:UpdatePanel>
    
                </div>
            </td>
        </tr>
    </table>

</asp:Content>

